import {NgModule} from '@angular/core';

import {HomeRoutingModule} from './home-routing.module';
import {SharedModule} from '../shared/shared.module';
import {HomeContainerComponent} from './components/home-container/home-container.component';
import {HomeDetailComponent} from './components/home-detail/home-detail.component';
import {HomeService, token} from './services/home.service';


@NgModule({
  declarations: [HomeContainerComponent, HomeDetailComponent],
  imports: [
    HomeRoutingModule,
    SharedModule
  ],
  providers: [
    HomeService, {
      provide: token,
      useValue: 'http://local.dev'
    }
  ]
})
export class HomeModule {
}
